@rem java -cp lib\codegen-thrift-1.0.6-standalone.jar;faceapi-base\target\classes;..\common-java\common-base\target\classes ^
@rem     net.gdface.codegen.thrift.ThriftServiceDecoratorGenerator ^
@rem 		-ic net.gdface.sdk.FaceApi ^
@rem 		-rc net.gdface.sdk.BaseFaceApiLocal ^
@rem 		-p net.gdface.sdk.decorator ^
@rem 		-o faceapi-service\src\service\java ^
@rem 		-gt SERVICE
 		
@rem 生成接口的基于facebook/swift的service端实现代码(decorator)
@set sh_folder=%~dp0
@pushd %sh_folder%..\faceapi-service
@set OUT_FOLDER=src\service\java
@if exist "%OUT_FOLDER%" rmdir  %OUT_FOLDER% /s/q
call mvn com.gitee.l0km:codegen-thrift-maven-plugin:generate@faceapi
call mvn com.gitee.l0km:codegen-thrift-maven-plugin:generate@fse
@popd